<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta data-th-replace="common/meta :: meta">
    <title>接口调用示例</title>
    <link rel="stylesheet" href="css/animate.min.css">
    <style>
        *{margin: 0;padding: 0}
        body{width: 100%;height:100%;overflow:hidden;margin-bottom:20px;}
        .LRADMS_iframe{min-width:960px}
    </style>
</head>
<body id="test">
    <iframe class="LRADMS_iframe fadeIn animated" width="100%" height="100%" src="/swagger-ui.html" frameborder="0" data-id="/home"></iframe>
<script type="application/javascript" src="js/lib/jquery.min.js"></script>
<script type="application/javascript">
$(document).ready(function () {
     $('#test').css('height',$(window).height());
     $(window).resize(function (){
         $('#test').css('height',$(window).height()-10);
     });
})
</script>
</body>
</html>